|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcontrol.Update
public class Update
Updates the field variable of the current simulation
| Constructor Summary | |
|---|---|
Update()
|
|
| Method Summary | |
|---|---|
static void |
globals(State s,
int week)
Updates the global variable for the simulation |
static void |
outputs(State s)
Outputs the update onto the main window |
static void |
skiiers(State s,
int week)
Updates the skiiers' field value for the week |
static void |
skiiersuccess()
|
static void |
variables(State s,
Details d)
Updates the other variables (gamepercentage, numberofskiiers, weeks, weather) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Update()
| Method Detail |
|---|
public static void skiiersuccess()
public static void skiiers(State s,
int week)
week: - Number of week the simulation is ons: - Current state which stores the field variables
public static void globals(State s,
int week)
week: - Number of week the simulation is ons: - Current state which stores the field variables
public static void variables(State s,
Details d)
week: - Number of week the simulation is ons: - Current state which stores the field variablespublic static void outputs(State s)
s - Current state which stores the field variables
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||